package com.example.demo.gangOfFour_design.strategy_celue.calc;

import org.springframework.stereotype.Service;

/**
 * @Author dbin
 * @Date 2020/1/8
 **/
@Service
public class CountCalc implements Calc {
    @Override
    public String getName() {
        return "jia";
    }

    @Override
    public int doOption(int a, int b) {
        return a + b;
    }
}
